package com.ruoyi.creditlife.mapper;

import com.ruoyi.creditlife.domain.DoctorAppointment;

import java.util.List;

/**
 * 用户预约Mapper接口
 * 
 * @author ddd
 * @date 2025-07-11
 */
public interface DoctorAppointmentMapper 
{
    /**
     * 查询用户预约
     * 
     * @param appointmentId 用户预约主键
     * @return 用户预约
     */
    public DoctorAppointment selectDoctorAppointmentByAppointmentId(Long appointmentId);

    /**
     * 查询用户预约列表
     * 
     * @param doctorAppointment 用户预约
     * @return 用户预约集合
     */
    public List<DoctorAppointment> selectDoctorAppointmentList(DoctorAppointment doctorAppointment);

    /**
     * 新增用户预约
     * 
     * @param doctorAppointment 用户预约
     * @return 结果
     */
    public int insertDoctorAppointment(DoctorAppointment doctorAppointment);

    /**
     * 修改用户预约
     * 
     * @param doctorAppointment 用户预约
     * @return 结果
     */
    public int updateDoctorAppointment(DoctorAppointment doctorAppointment);

    /**
     * 删除用户预约
     * 
     * @param appointmentId 用户预约主键
     * @return 结果
     */
    public int deleteDoctorAppointmentByAppointmentId(Long appointmentId);

    /**
     * 批量删除用户预约
     * 
     * @param appointmentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDoctorAppointmentByAppointmentIds(Long[] appointmentIds);
}
